import log from 'electron-log/main';

log.transports.file.level = 'info';

log.initialize();

// 50M
log.transports.file.maxSize = 50 * 1024 * 1024;

/*
  日志的存储目录:
  mac: ~/Library/Application Support
  windows: 搜索栏输入 %appdata%
*/

export default log;
